<template>
 <div class="a">
  A组件
  {{a}}
  {{title}}
</div>
</template>
<script setup lang='ts'>
import { useAttrs } from 'vue'
let {a,title} = useAttrs()
</script>
<style scoped lang='less'>
.a{
  width: 200px;
  height: 200px;
  border: 1px solid #ccc;
}
</style>